import request from '@/utils/request'

// https://api-hmzs.itheima.net/v1/upload
//  https://api-hmzs.itheima.net/v1/upload
export const uploadAPI = (data) => {
  return request.post('/upload', data, {
    headers: {
      'Content-Type': 'multipart/form-data'
    }
  })
}
